package com.dingding.common.core.beans.activity;

import java.io.Serializable;

/**
 * 
 * @Description: 活动规则关联表
 * @author CHEHUANBO
 * @date 2016年12月6日
 * 
 */
@SuppressWarnings("all")
public class ActivityRefRule implements Serializable {

	private Integer activityRefRuleId;  // 主键ID
	private String activityId; //活动ID
	private int activityRuleId; //活动规则ID
	private String ruleValue; //规则值
	private int rulePriority; //规则优先级

	public ActivityRefRule() {
	}

	public ActivityRefRule(String activityId, int activityRuleId, String ruleValue, int rulePriority) {
		this.activityId = activityId;
		this.activityRuleId = activityRuleId;
		this.ruleValue = ruleValue;
		this.rulePriority = rulePriority;
	}

	public Integer getActivityRefRuleId() {
		return this.activityRefRuleId;
	}

	public void setActivityRefRuleId(Integer activityRefRuleId) {
		this.activityRefRuleId = activityRefRuleId;
	}

	public String getActivityId() {
		return this.activityId;
	}

	public void setActivityId(String activityId) {
		this.activityId = activityId;
	}

	public int getActivityRuleId() {
		return this.activityRuleId;
	}

	public void setActivityRuleId(int activityRuleId) {
		this.activityRuleId = activityRuleId;
	}

	public String getRuleValue() {
		return this.ruleValue;
	}

	public void setRuleValue(String ruleValue) {
		this.ruleValue = ruleValue;
	}

	public int getRulePriority() {
		return this.rulePriority;
	}

	public void setRulePriority(int rulePriority) {
		this.rulePriority = rulePriority;
	}

	@Override
	public String toString() {
		return "ActivityRefRule [activityRefRuleId=" + activityRefRuleId + ", activityId=" + activityId
				+ ", activityRuleId=" + activityRuleId + ", ruleValue=" + ruleValue + ", rulePriority=" + rulePriority
				+ "]";
	}
	
	

}
